﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="loadReportCountWeb.ascx.cs" Inherits="UserControl_Reports_loadReportCountWeb" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<table width="100%" align="center" border="0" >
	<tr>
		<td align="center">	
		    <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
		        <tr>
		            <td align="right" style="width:25%;">
		                <asp:label id="lblNguon" runat="server" CssClass="cssLabel">Nguồn:</asp:label>
		            </td>
		            <td align="left">
		                <asp:CheckBoxList ID="cbxNguon" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" RepeatColumns="5" />
		            </td>
	            </tr>
	            <tr>
		            <td align="right">
		                 <asp:label id="lblCTV" runat="server" CssClass="cssLabel">Cộng tác viên:</asp:label>
		            </td>
		            <td align="left">
		                <asp:CheckBoxList ID="cbxCTV" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" RepeatColumns="5"/>
		            </td>
	            </tr>
	            <tr>
		            <td align="right">
		                <asp:label id="lblTVTS" runat="server" CssClass="cssLabel">Tư vấn tuyển sinh:</asp:label>
		            </td>
		            <td align="left">
		                <asp:CheckBoxList ID="cbxTVTS" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" RepeatColumns="5"/>
		            </td>
	            </tr>	
	            <tr>
		            <td align="right" valign="top">
		                 <asp:label id="lblLevel" runat="server" CssClass="cssLabel">Level:</asp:label>
		            </td>
		            <td align="left">
		                &nbsp;&nbsp;<asp:DropDownList ID="ddlLevel" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlLevel_SelectedIndexChanged" Width="160" />
                    </td>
	            </tr>		
	            <tr>
		            <td align="right">
		                 <asp:label id="lblTrangThai" runat="server" CssClass="cssLabel">Trạng thái:</asp:label>
		            </td>
		            <td align="left">
		                <asp:RadioButtonList ID="rdlTrangThai" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" RepeatColumns="5"/>
		            </td>
	            </tr>		
	            <tr>
		            <td align="right" valign="top">
		                 
		            </td>
		            <td align="left">
		                <asp:Button ID ="btnSearch" runat="server" OnClick="btnSearch_Click" CssClass="cssButton" Text="Thống kê" Width="98px" />
		                <asp:Button ID ="btnExportFile" runat="server" OnClick="btnExportFile_Click" CssClass="cssButton" Text="Xuất Excel" Width="98px" />
		                <asp:Button ID ="btnExportFileWord" runat="server" OnClick="btnExportFileWord_Click" CssClass="cssButton" Text="Xuất Word" Width="98px" />
		                
		            </td>
	            </tr>	
		    </table>
		</td>
	</tr>
	<tr>
		<td align="right" >
		    <asp:Label ID="lblKetqua" CssClass="cssLabel" runat="server">Tổng số ứng viên:</asp:Label>
		    <asp:Label ID="lblKetquaView" CssClass="cssLabel" Font-Bold="true" runat="server"></asp:Label>
		</td>
	</tr>
	<tr>
		<td align="center" valign="top" style="height:570px;"  >
			<table width="100%" align="center" border="0" >	
                <tr>
                    <td  align="center" valign="top" >
                        <asp:GridView id="grvHocVien" runat="server" Width="100%" CellPadding="0" CellSpacing="0" 
                            AutoGenerateColumns="False" AllowPaging="true" 
                            HeaderStyle-CssClass="cssGridHeader" EditRowStyle-CssClass="cssGridEdit" RowStyle-CssClass="cssGridCell" 
                            AlternatingRowStyle-CssClass="cssGridAlterCell"  
                            PagerStyle-CssClass="cssGridPager" SelectedRowStyle-CssClass="cssSelectedRow"
	                        DataKeyNames="ID" PageSize="50" PagerStyle-HorizontalAlign="Center"
	                        OnRowDataBound="grvHocVien_RowDataBound" OnPageIndexChanging="grvHocVien_PageIndexChanging" AllowSorting="True" 
                            onsorting="grvHocVien_Sorting">
	                        <PagerSettings Position="TopAndBottom" />
	                        <Columns>
		                        <asp:TemplateField Visible="False">
			                        <ItemTemplate>
				                        <asp:Label id="HocVienID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ID") %>' />
			                        </ItemTemplate>
		                        </asp:TemplateField>
		                        <asp:TemplateField Visible="False">
			                        <ItemTemplate>
				                        <asp:Label id="LevelID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.LevelID") %>' />
			                        </ItemTemplate>
		                        </asp:TemplateField>
		                        <asp:BoundField DataField="Seq" SortExpression="Seq" HeaderText="TT" 
                                    ItemStyle-Width="4%" HeaderStyle-ForeColor="White" 
                                    ItemStyle-HorizontalAlign="Center" >
                                </asp:BoundField>
		                        <asp:TemplateField HeaderText="Mã ứng viên" SortExpression="MaHocVien" ControlStyle-Font-Underline="false"  HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">
		                        <ItemStyle Width="10%"/>
		                            <ItemTemplate>
				                        <asp:Label id="lblMaHocVienGV" CssClass="cssGridLink" Target="_blank" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.MaHocVien") %>' />
			                        </ItemTemplate>						
		                        </asp:TemplateField>	
		                        <asp:TemplateField HeaderText="Họ tên" SortExpression="HoTen" ControlStyle-Font-Underline="false"  HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">
		                          <ItemStyle Width="17%"/>
		                            <ItemTemplate>
				                        <asp:Label id="lblHoTenGV" CssClass="cssLabel" Target="_blank" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.HoTen") %>' />
			                        </ItemTemplate>						
		                        </asp:TemplateField>
		                        <asp:BoundField DataField="DienThoai" SortExpression="DienThoai" 
                                    HeaderText="Điện thoại" HeaderStyle-ForeColor="White" ItemStyle-Width="10%" 
                                    ItemStyle-HorizontalAlign="Center" >
                                </asp:BoundField>
		                         <asp:TemplateField HeaderText="Email" SortExpression="Email" ItemStyle-Width="12%" ControlStyle-Font-Underline="false"  HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">
		                            <ItemTemplate>
				                        <asp:Label id="lblEmailGV" CssClass="cssLabel" Target="_blank" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Email") %>' />
			                        </ItemTemplate>						
		                        </asp:TemplateField>
		                        <asp:TemplateField HeaderText="Gọi gần nhất" SortExpression="NgayGoi" ControlStyle-Font-Underline="false" ItemStyle-Width="12%" HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Center">
		                            <ItemTemplate>
				                        <asp:Label id="lblNgayGoiGanNhatGV" CssClass="cssLabel" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.NgayGoi") %>' />
			                        </ItemTemplate>		
		                        </asp:TemplateField>						
		                        <asp:BoundField DataField="TenTrangThaiGoi" SortExpression="TenTrangThaiGoi" 
                                    HeaderStyle-ForeColor="White" HeaderText="Trạng thái" ItemStyle-Width="10%" 
                                    ItemStyle-HorizontalAlign="Center" >							
                                </asp:BoundField>
		                          <asp:TemplateField HeaderText="Nội dung"  ControlStyle-Font-Underline="false" ItemStyle-Width="15%" HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Center">
		                            <ItemTemplate>
				                        <asp:Label id="lblNoidungGV" CssClass="cssLabel" runat="server" />
			                        </ItemTemplate>	
		                        </asp:TemplateField>				
	                        </Columns>
                           </asp:GridView>
                    </td>
                </tr>
            </table>           
		</td>
	</tr>
</table>